Ext.define("overrides.Ext.data.field.Date",{
    override:"Ext.data.field.Date",
    serialize: function (value) {
        var result = null,
            format;

        if (Ext.isDate(value)) {
            format = this.getDateWriteFormat();
            result = format ? Ext.Date.format(value, format) : value;
            if(format == "time")
                result = parseInt(result);
        }

        return result;
    }
});